<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>收获金属库存管理系统</title>
	<meta http-equiv="pragma" content="no-cache" />
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="cache-control" content="no-cache" />
	<meta http-equiv="expires" content="0" />    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3" />
	<meta http-equiv="description" content="This is my page" />
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<script type="text/javascript" src="js/jquery.js"></script>
  </head>
  
  <body>
  <center>
    页面跳转，请稍后。。。<br /> <img src="images/load.gif" width="16" height="16" />
  </center>

<script type="text/javascript">

window.onload = function (){
	/*
	var url = '/ccb-academic/servlet/IpInterceptServlet?d=' + new Date()
	$.get(url, {}, function(data) {
		if(data == 1){
			is_ie();
		}else{
			alert("无效用户！");
			window.opener=null;
			window.open('','_self');
			window.close();
		}
	});
	*/
	is_ie();
};
function is_ie(){
	/*
	userAgent=window.navigator.userAgent.toLowerCase();
	var name=navigator.appName;
	if(name=="Microsoft Internet Explorer")
	{
		*/
		var height = 700;
		var width = 1024;
		
		var win_width = window.screen.width;
		var win_height = window.screen.height;
		var top = (win_height - height)/6;
		var left = (win_width - width)/2;
		window.opener=null;
		window.open('','_self');
		window.close();
		var url = 'login.html';
//		var name = 'login';
		var name = '';
		var config = 'height='+height+',width='+width+',top='+top+',left='+left+',toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no, status=no';
		
		window.open(url,name,config);
		/*
	} else {
		alert("请使用IE浏览器！！！");
		window.opener=null;
		window.open('','_self');
		window.close();
	}
	*/
}
</script>
  </body>
</html>
